package mylab.utils.common.guava;

import com.google.common.eventbus.AllowConcurrentEvents;
import com.google.common.eventbus.DeadEvent;
import com.google.common.eventbus.Subscribe;

import lombok.extern.slf4j.Slf4j;


@Slf4j
public class DeadEventListener {
    @Subscribe
    @AllowConcurrentEvents
    public void onEvent(DeadEvent event) {
        log.info("### DeadEvent ###");
        log.info("source:{}", event.getSource());
        log.info("event:{}", event.getEvent());
    }
}
